<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻详情</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        .container {
            width: 80%;
            margin: auto;
            overflow: hidden;
        }
        header {
            background: #333;
            color: #fff;
            padding: 20px;
            text-align: center;
        }
        nav {
            display: flex;
            justify-content: center;
            background: #555;
            padding: 10px 0;
        }
        nav a {
            color: white;
            text-decoration: none;
            padding: 0 15px;
        }
        nav a:hover {
            background: #444;
        }
        .news-article {
            background: #fff;
            margin: 20px 0;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .news-article img {
            max-width: 100%;
            height: auto;
            display: block;
            margin-bottom: 20px;
        }
        .news-article h1 {
            margin: 0;
            padding-bottom: 10px;
        }
        .news-article p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .news-article .meta {
            color: #888;
            font-size: 0.9em;
            margin-bottom: 20px;
        }
        .comments {
            background: #fff;
            margin-top: 20px;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .comment {
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }
        .comment:last-child {
            border-bottom: none;
        }
        .comment .author {
            font-weight: bold;
        }
        .comment .date {
            color: #888;
            font-size: 0.9em;
        }
        .comment-form {
            margin-top: 20px;
        }
        .comment-form label {
            display: block;
            margin-bottom: 5px;
        }
        .comment-form input[type="text"],
        .comment-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ddd;
        }
        .comment-form input[type="button"] {
            padding: 10px 20px;
            background: #333;
            color: #fff;
            border: none;
            cursor: pointer;
        }
        .comment-form input[type="button"]:hover {
            background: #444;
        }
        footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 10px 0;
            position: relative;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>
<body>
    <header>
        <h1>新闻详情</h1>
    </header>
    <nav>
        <a href="index.html">返回首页</a>
    </nav>
    <div class="container">
        <div class="news-article">
            <img class="new_img"  src="https://via.placeholder.com/1200x630" alt="新闻图片">
            <h1 class="title">新闻标题</h1>
            <p class="meta">发布作者：<span class="newauther">admin</span></p>
            <p class="meta">发布时间：<span class="newtime"></span></p>
            <p class="newcontent">这里是新闻的详细内容，通常会包含新闻的全文，包括引言、正文和结论。</p>
            <!-- 根据需要添加更多的段落 -->
        </div>
        <div class="comments">

        </div>
        <div class="comment-form">
            <h2>发表评论</h2>
            <form>
                <label for="comment">评论：</label>
                <textarea id="comment" name="comment" required></textarea>
                <input type="button" class="buildreview" value="提交评论">
            </form>
        </div>
    </div>
    <footer>
        <p>版权所有 © 2024 新闻网站</p>
    </footer>
</body>
</html>